package com.xiaogao.sys.request.role;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.lang.String;
import java.util.List;

@Data
public class UpdateParam {
    @NotNull(message = "ID不能为空")
    private String id;
    @NotBlank(message = "角色编码不能为空")
    private String code;
    @NotBlank(message = "角色名称不能为空")
    private String name;
    @NotBlank(message = "数据权限不能为空")
    private String dataScope;
    private String remark;

    private List<String> permIds;
}
